public class main {

    public static void main(String[] args) {
        ListNode head = new ListNode(1);
        ListNode cur = head;
        cur.next = new ListNode(3);
        cur = cur.next;
        cur.next = new ListNode(1);
        Solution solution = new Solution();
        solution.partition(head,2);
    }
}
